<template>
	<view class="common-title">
		<text class="left">{{ title }}</text>
		<view class="right">
			<slot name="rightCustom"></slot>
		</view>
	</view>
</template>

<script setup>
defineProps({
	title: {
		type: String,
		default: ''
	}
})
</script>

<style lang="scss" scoped>
	.common-title {
		display: flex;
		justify-content: space-between;
		margin: 0 30rpx;
		.left {
			font-size: 40rpx;
		}
	}
</style>